﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <script src="/Scripts/tiny_mce/tiny_mce.js" type="text/javascript"></script>
    <script type="text/javascript">
        tinyMCE.init({

            // General options
            mode: "textareas",
            theme: "advanced",
            plugins: "netadvimage",

            // Theme options
            theme_advanced_buttons1: "netadvimage",
            theme_advanced_buttons2: "",
            theme_advanced_buttons3: "",
            theme_advanced_buttons4: "",
            theme_advanced_toolbar_location: "top",
            theme_advanced_toolbar_align: "left"
             
        });
    </script>
    <h1>
        NetAdvImage</h1>
        <p>An image upload plugin for TinyMCE and ASP.NET MVC 2.0</p>
    <%= Html.TextArea("editor", new { style = "width: 100%;", rows="20" })%>
</asp:Content>
